package com.zxx.ssm.mapper;

import com.zxx.ssm.dao.Student;
import com.zxx.ssm.dao.TeacherAvaliableTimeblock;
import com.zxx.ssm.dao.TeacherAvaliableTimeblockExample;
import java.util.Date;
import java.util.List;

import com.zxx.ssm.dao.core.BaseMapper;
import com.zxx.ssm.model.biz.TeaAvaTimeblockBiz;
import org.apache.ibatis.annotations.Param;

public interface TeacherAvaliableTimeblockMapper extends BaseMapper<TeacherAvaliableTimeblock, TeacherAvaliableTimeblockExample, Integer>{
    List<Student> getAvaTimeTea(@Param("curDay") Date curDay, @Param("timeblockId") Integer timeblockId);

    List<TeaAvaTimeblockBiz> getTeaAvaTime(@Param("teaId") Integer teaId, @Param("firstDay") Date firstDay, @Param("lastDay") Date lastDay);
}